Skip to content

fix: replace about:blank with data: URI to prevent New Tab Override interception#257

Merged
jackwener merged 1 commit intomainfrom
fix/about-blank-interception
Mar 22, 2026
Merged

fix: replace about:blank with data: URI to prevent New Tab Override interception#257
jackwener merged 1 commit intomainfrom
fix/about-blank-interception

Conversation

@jackwener
Copy link
Owner

Root cause fix for #249: all about:blank URLs replaced with data:text/html in the extension. New Tab Override extensions intercept about:blank and replace it with chrome-extension://, causing CDP attach to fail. data: URIs cannot be intercepted.

Also syncs extension version to match opencli (1.2.4).

…de interception

Root cause: getAutomationWindow and resolveTabId used about:blank which
New Tab Override extensions intercept immediately, replacing it with
chrome-extension:// URLs that cannot be debugged.

Changes:
- Window creation: about:blank → data:text/html
- reuseTab fallback: about:blank → data:text/html
- newTab handler: about:blank → data:text/html
- Added diagnostic logging to resolveTabId for debugging
- Synced extension version to 1.2.4

Ref: #249
@jackwener jackwener merged commit 3e91876 into main Mar 22, 2026
@jackwener jackwener deleted the fix/about-blank-interception branch March 22, 2026 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant